#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include <unistd.h>
#include <fcntl.h>
#include "errsys.h"

struct B
{
	unsigned char a;
	unsigned char b;
	unsigned char c;
	unsigned char d;
};

int main(int argc, char **argv)
{
	printf("%u\n",sizeof(struct B));
	struct B bb;
	memset(&bb,0,sizeof(bb));
	bb.a = ~bb.a ;
	bb.a >>=2  ;
	bb.d = ~bb.d ;
	printf("%d\n",bb.a);
	printf("%u\n",*(unsigned*)&bb);
	return 0;
}

